package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "shopping")
public class Shopping {
    @TableId(type = IdType.INPUT)
    private Integer shopid;
    private Integer uid;
    private Integer goodid;
    private Integer number;
    private String price;
    private String sum;
//    private String address;

    @TableField
    private String username;
    private String gname;
    private Integer gmoney;
    private Integer addressid;
}

